<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<style>
@page {
    size: 400pt 400pt;
    margin: 50pt;
}

html {
    font-family: sans-serif;
    font-size: 12pt;
}

body {
    outline: thin solid rgb(0 0 0 / 0.25);
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 3pt;
}

.t0 {
    border: none;
}

.t1 {
    border: none;
}

.t1 td {
    border: 1pt solid black;
}

.t2 {
    border: 1pt solid black;
}

.t2 td {
    border: 1pt solid black;
}

.t3 {
    border: 3pt solid black;
}

.t3 td {
    border: 1pt solid black;
}

.t4 {
    border: 1pt solid black;
}

.t4 td {
    border: 3pt solid red;
}

.t5 {
    border: none;
}

.t5 tbody {
    border: 3pt solid blue;
}

.t5 td {
    border: 1pt solid red;
}

.t6 {
    border: none;
}

.t6 tr {
    border: 3pt solid green;
}

.t6 td {
    border: 1pt solid red;
}
</style>
</head>

<body>
<table class="t0">
    <tr>
        <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
        <td>dolor</td>
        <td>sit<br>amet</td>
    </tr>
</table>
<table class="t1">
    <tr>
        <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
        <td>dolor</td>
        <td>sit<br>amet</td>
    </tr>
</table>
<table class="t2">
    <tr>
        <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
        <td>dolor</td>
        <td>sit<br>amet</td>
    </tr>
</table>
<table class="t3">
    <tr>
        <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
        <td>dolor</td>
        <td>sit<br>amet</td>
    </tr>
</table>
<table class="t4">
    <tbody>
        <tr>
            <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
            <td>dolor</td>
            <td>sit<br>amet</td>
        </tr>
    </tbody>
</table>
<table class="t5">
    <tbody>
        <tr>
            <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
            <td>dolor</td>
            <td>sit<br>amet</td>
        </tr>
    </tbody>
</table>
<table class="t6">
    <tbody>
        <tr>
            <td>Lorem ipsum dolor sit amet,<br>consectetur adipisici elit</td>
            <td>dolor</td>
            <td>sit<br>amet</td>
        </tr>
    </tbody>
</table>
</body>

</html>
